//
//  NSDate+format.m
//  PedometerTest
//
//  Created by Leming Deng on 2014-07-24.
//  Copyright (c) 2014 tdr. All rights reserved.
//

#import "NSDate+format.h"

@implementation NSDate (format)
- (NSString *)description {
    NSDateFormatter *formater = [[NSDateFormatter alloc] init];
    [formater setDateStyle:NSDateFormatterShortStyle];
    [formater setTimeStyle:NSDateFormatterShortStyle];
    
    
    return [formater stringFromDate:self];
}
@end
